package com.esri.core.renderer;

import com.esri.core.map.Feature;
import com.esri.core.map.Graphic;
import com.esri.core.symbol.MultiLayerSymbol;
import com.esri.core.symbol.Symbol;

/* loaded from: classes.dex */
public class DictionaryRenderer implements Renderer {
    public static final String TYPE = "dictionary";
    private static final long serialVersionUID = 1;
    private long a;

    private native double nativeGetLabelMaxScale(long j);

    private native double nativeGetLabelMinScale(long j);

    private native boolean nativeGetLabelsVisible(long j);

    private native double nativeGetSymbolScaleFactor(long j);

    private native void nativeSetLabelMaxScale(long j, double d);

    private native void nativeSetLabelMinScale(long j, double d);

    private native void nativeSetLabelsVisible(long j, boolean z);

    @Override // com.esri.core.renderer.Renderer
    public String toJson() throws Exception {
        return null;
    }

    private DictionaryRenderer(Long l) {
        this.a = 0L;
        this.a = l.longValue();
    }

    public double getSymbolScaleFactor() {
        long j = this.a;
        if (j > 0) {
            return nativeGetSymbolScaleFactor(j);
        }
        return Double.NaN;
    }

    public boolean isLabelsVisible() {
        long j = this.a;
        if (j > 0) {
            return nativeGetLabelsVisible(j);
        }
        return true;
    }

    public void setLabelsVisible(boolean z) {
        long j = this.a;
        if (j > 0) {
            nativeSetLabelsVisible(j, z);
        }
    }

    public double getMinLabelScale() {
        long j = this.a;
        if (j > 0) {
            return nativeGetLabelMinScale(j);
        }
        return Double.NaN;
    }

    public void setMinLabelScale(double d) {
        long j = this.a;
        if (j > 0) {
            nativeSetLabelMinScale(j, d);
        }
    }

    public double getMaxLabelScale() {
        long j = this.a;
        if (j > 0) {
            return nativeGetLabelMaxScale(j);
        }
        return Double.NaN;
    }

    public void setMaxLabelScale(double d) {
        long j = this.a;
        if (j > 0) {
            nativeSetLabelMaxScale(j, d);
        }
    }

    public Symbol getSymbol(Graphic graphic) {
        return getSymbol((Feature) graphic);
    }

    @Override // com.esri.core.renderer.Renderer
    public Symbol getSymbol(Feature feature) {
        return new MultiLayerSymbol();
    }
}
